<?php
namespace Model;
use Think\Model;
    class User_informationModel extends Model {
        
        protected  $_validate = array(
            //不为空验证          
            array('infor_tel','require','联系电话不能为空'),
            //长度验证
            array('infor_tel','6,12','联系电话不规范',0,'length'),
            array('infor_address','6,120','地址长度在6~120之间',2,'length'),
            //规范验证
            array('infor_email','email','邮箱格式不正确','2'),
            array('infor_tel','number','联系电话必须是纯数字'),
             
        );
}